<!--
 * @Date: 2020-03-26 09:30:49
 * @LastEditors: 黄栋
 * @LastEditTime: 2020-04-22 09:34:13
 * @FilePath: /cloudAdmin/src/views/market/promotion/index.vue
 -->
<template>
  <div id="page1">
    <el-tabs class="pageTab" v-model="activeName" @tab-click="handleClick">
      <el-tab-pane label="店铺营销" name="first">
        <shop ref="productList" />
      </el-tab-pane>
      <el-tab-pane label="会员营销" name="second">
        <member ref="publishRef" />
      </el-tab-pane>
      <el-tab-pane label="限时抢购" name="third">
        <feature />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import shop from "./shop/shop";
import member from "./member/customer";
import feature from "./feature/feature";

export default {
  components: { shop, member, feature },
  data() {
    return {
      activeName: "first" //第一个默认启动
    };
  },
  methods: {
      handleClick(){}
  }
};
</script>